package com.proxy.parser.visitor;

import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlShowColumnsStatement;
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlShowTableStatusStatement;
import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlSchemaStatVisitor;
import com.proxy.parser.ParsedResult;
import com.proxy.parser.PoxyVisitor;
import com.proxy.parser.result.ShowColumnsResult;
import com.proxy.parser.result.ShowTablesResult;

/**
 * Created by liufish on 16/12/27.
 */
public class ShowColumnsVisitor extends MySqlSchemaStatVisitor implements PoxyVisitor {

    private ShowColumnsResult   showColumnsResult;

    public ShowColumnsVisitor(ParsedResult parsedResult){
        this.showColumnsResult = (ShowColumnsResult)parsedResult;
    }


    @Override
    public boolean visit(MySqlShowColumnsStatement x) {
        boolean superValue = super.visit(x);
        return superValue;
    }

    @Override
    public void endVisit(MySqlShowColumnsStatement x) {
        super.endVisit(x);
    }


}
